home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / HyperCard / Frederic Rinaldi / FindFolder 1.1 (US) / FindFolder 1.1 (US) / cards.xml < prev    next >
Encoding:
Text File  |  1993-11-17  |  8.3 KB  |  154 lines

  1. card_3055.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>3055</id>
  6.     <filler1>0</filler1>
  7.     <bitmap>BMAP_3273.pbm</bitmap>
  8.     <cantDelete> <false /> </cantDelete>
  9.     <showPict> <true /> </showPict>
  10.     <dontSearch> <false /> </dontSearch>
  11.     <owner>2661</owner>
  12.     <link rel="stylesheet" type="text/css" href="stylesheet_2363.css" />
  13.     <part>
  14.         <id>1</id>
  15.         <type>field</type>
  16.         <visible> <true /> </visible>
  17.         <dontWrap> <false /> </dontWrap>
  18.         <dontSearch> <false /> </dontSearch>
  19.         <sharedText> <false /> </sharedText>
  20.         <fixedLineHeight> <true /> </fixedLineHeight>
  21.         <autoTab> <false /> </autoTab>
  22.         <lockText> <true /> </lockText>
  23.         <rect>
  24.             <left>69</left>
  25.             <top>68</top>
  26.             <right>434</right>
  27.             <bottom>252</bottom>
  28.         </rect>
  29.         <style>scrolling</style>
  30.         <autoSelect> <false /> </autoSelect>
  31.         <showLines> <false /> </showLines>
  32.         <wideMargins> <false /> </wideMargins>
  33.         <multipleLines> <false /> </multipleLines>
  34.         <reservedFamily> 0 </reservedFamily>
  35.         <titleWidth>0</titleWidth>
  36.         <icon>0</icon>
  37.         <textAlign>left</textAlign>
  38.         <font>Geneva</font>
  39.         <textSize>9</textSize>
  40.         <textStyle>plain</textStyle>
  41.         <textHeight>12</textHeight>
  42.         <name></name>
  43.         <script></script>
  44.     </part>
  45.     <part>
  46.         <id>22</id>
  47.         <type>button</type>
  48.         <visible> <false /> </visible>
  49.         <reserved5> 0 </reserved5>
  50.         <reserved4> 0 </reserved4>
  51.         <reserved3> 0 </reserved3>
  52.         <reserved2> 0 </reserved2>
  53.         <reserved1> 0 </reserved1>
  54.         <enabled> <true /> </enabled>
  55.         <rect>
  56.             <left>0</left>
  57.             <top>326</top>
  58.             <right>18</right>
  59.             <bottom>342</bottom>
  60.         </rect>
  61.         <style>checkbox</style>
  62.         <showName> <false /> </showName>
  63.         <highlight> <false /> </highlight>
  64.         <autoHighlight> <true /> </autoHighlight>
  65.         <sharedHighlight> <true /> </sharedHighlight>
  66.         <family>0</family>
  67.         <titleWidth>0</titleWidth>
  68.         <icon>0</icon>
  69.         <textAlign>center</textAlign>
  70.         <font>Chicago</font>
  71.         <textSize>12</textSize>
  72.         <textStyle>plain</textStyle>
  73.         <name></name>
  74.         <script></script>
  75.     </part>
  76.     <part>
  77.         <id>25</id>
  78.         <type>button</type>
  79.         <visible> <true /> </visible>
  80.         <reserved5> 0 </reserved5>
  81.         <reserved4> 0 </reserved4>
  82.         <reserved3> 0 </reserved3>
  83.         <reserved2> 0 </reserved2>
  84.         <reserved1> 0 </reserved1>
  85.         <enabled> <true /> </enabled>
  86.         <rect>
  87.             <left>209</left>
  88.             <top>278</top>
  89.             <right>335</right>
  90.             <bottom>318</bottom>
  91.         </rect>
  92.         <style>roundrect</style>
  93.         <showName> <true /> </showName>
  94.         <highlight> <false /> </highlight>
  95.         <autoHighlight> <true /> </autoHighlight>
  96.         <sharedHighlight> <true /> </sharedHighlight>
  97.         <family>0</family>
  98.         <titleWidth>0</titleWidth>
  99.         <icon>0</icon>
  100.         <textAlign>center</textAlign>
  101.         <font>Chicago</font>
  102.         <textSize>12</textSize>
  103.         <textStyle>plain</textStyle>
  104.         <name>FindFolder</name>
  105.         <script>on mouseUpput "A,C,D,E,P,M,N,T,I,S,Y" into ParamListrepeat with i=1 to number of items of ParamListput quote & item i of ParamList & quote & " : " &¬¨FindFolder(item i of ParamList) & return after Tempend repeatput Temp into cd fld 2show cd fld 2end mouseUp</script>
  106.     </part>
  107.     <part>
  108.         <id>26</id>
  109.         <type>field</type>
  110.         <visible> <false /> </visible>
  111.         <dontWrap> <false /> </dontWrap>
  112.         <dontSearch> <false /> </dontSearch>
  113.         <sharedText> <false /> </sharedText>
  114.         <fixedLineHeight> <true /> </fixedLineHeight>
  115.         <autoTab> <false /> </autoTab>
  116.         <lockText> <true /> </lockText>
  117.         <rect>
  118.             <left>56</left>
  119.             <top>88</top>
  120.             <right>440</right>
  121.             <bottom>231</bottom>
  122.         </rect>
  123.         <style>shadow</style>
  124.         <autoSelect> <false /> </autoSelect>
  125.         <showLines> <false /> </showLines>
  126.         <wideMargins> <true /> </wideMargins>
  127.         <multipleLines> <false /> </multipleLines>
  128.         <reservedFamily> 0 </reservedFamily>
  129.         <titleWidth>0</titleWidth>
  130.         <icon>0</icon>
  131.         <textAlign>left</textAlign>
  132.         <font>Monaco</font>
  133.         <textSize>9</textSize>
  134.         <textStyle>plain</textStyle>
  135.         <textHeight>12</textHeight>
  136.         <name></name>
  137.         <script>on mouseUphide meend mouseUP</script>
  138.     </part>
  139.     <content>
  140.         <layer>card</layer>
  141.         <id>1</id>
  142.         <text><span class="style1">                                           </span><span class="style2">FindFolder 1.1</span><span class="style1">                                        </span><span class="style3">by Fr√©d√©ric RINALDI</span><span class="style1"></span><span class="style4">DESCRIPTION</span><span class="style1">  FindFolder returns the full pathname of the active System folder or any of its reserved folders (System 7.0).</span><span class="style4">SYNTAX</span><span class="style1">                        FindFolder([<folder descriptor>[,<create it>]])</span><span class="style4">PARAMETERS</span><span class="style1">   </span><span class="style2"><folder descriptor></span><span class="style1"> is a string describing the folder. It must be one of these values (only first char is checked) :          </span><span class="style2">A</span><span class="style1">[pple menu]          </span><span class="style2">C</span><span class="style1">[ontrol Panel]          </span><span class="style2">D</span><span class="style1">[esktop]          </span><span class="style2">E</span><span class="style1">[xtensions]          </span><span class="style2">F</span><span class="style1">[onts] (System 7.1 only)          </span><span class="style2">P</span><span class="style1">[references]          </span><span class="style2">M</span><span class="style1">[onitor printing]          </span><span class="style2">N</span><span class="style1">[etwork trash]          </span><span class="style2">T</span><span class="style1">[rash]          </span><span class="style2">I</span><span class="style1">[tems startup]          </span><span class="style2">S</span><span class="style1">[ystem]          </span><span class="style2">Y</span><span class="style1"> : TemporarY items   Default value is "S".   </span><span class="style2"><create it></span><span class="style1"> is a boolean telling if the XFCN must create the folder if not found (only with System 7.0). Default is FALSE.   Both parameters are optional. Using "!", "?" or "=" as first parameter will return an online help (resp. copyright,  syntax and output).</span><span class="style4">USING</span><span class="style1">  The XFCN returns the full pathname of the requested folder, ending with colon.   Under System 6.0, only current System folder can be returned.</span><span class="style4">ERRORS</span><span class="style1">   If an error occurs, the XFCN can return :     "Error : Empty parameter"     "Error : Second param must be boolean"     "Error : Folder not found"     "Error : Found file instead of folder"</span><span class="style4">HISTORY</span><span class="style1"></span><span class="style2">1.1</span><span class="style1">                                                                                         </span><span class="style2">04/21/92</span><span class="style1">‚Ä¢ Added "font" param for System 7.1                                                                                     --------------------------------------------------------------------</span><span class="style5">   All externals included in this stack are FreeWare and may be used in non-commercial software provided the following notice is visibly present :</span><span class="style1"></span><span class="style3">                 FindFolder XFCN, ¬© Frederic Rinaldi, 1989‚Ķ1993.    Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses:</span><span class="style1"></span><span class="style6">AppleLink</span><span class="style3">: RINALDI1   </span><span class="style6">CalvaCom</span><span class="style3"> : FR10    </span><span class="style6">Compuserve</span><span class="style3"> : 71170,2111</span><span class="style6">               Internet</span><span class="style3"> : RINALDI1@APPLELINK.APPLE.COM</span></text>
  143.     </content>
  144.     <content>
  145.         <layer>card</layer>
  146.         <id>26</id>
  147.         <text>"A" : HD160INT:System Folder:Apple Menu Items:"C" : HD160INT:System Folder:Control Panels:"D" : HD160INT:Desktop Folder:"E" : HD160INT:System Folder:Extensions:"P" : HD160INT:System Folder:Preferences:"M" : HD160INT:System Folder:PrintMonitor Documents:"N" : HD160INT:Trash:"T" : HD160INT:Trash:"I" : HD160INT:System Folder:Startup Items:"S" : HD160INT:System Folder:"Y" : HD160INT:Temporary Items:</text>
  148.     </content>
  149.     <name></name>
  150.     <script></script>
  151. </card>
  152.  
  153.  
  154.